<%- title "qiso" -%>

<a href="questions" class="button">Questions</a>
<a href="tags" class="button">Tags</a>
<a href="users" class="button">Users</a>
<a href="questions/unanswered" class="button">Unanswered</a>

<% content_for :sidebar do %>
<h2>Welcome!</h2>
<p>This is Qiso (pronounced "quiz-oh") the new community-run knowledgebase builder. The idea is to start with questions and incrementally build better solutions. Questions in, Solutions Out!</p>
<% end %>

<%= will_paginate @questions %>

<%- unless @questions.nil? or @questions.empty? %>
<table>
<%= render :partial => "tabular/question", :collection => @questions %>
</table>
<%- end %>

<%= will_paginate @questions %>
<br />

<%= link_to 'Ask Question', new_thought_path, :class => "button" %>
